package com.yztl.pojo;

public class Admin {
        private int admin_id;
        private String admin_name;
        private int admin_userid;
        private String admin_userpassword;

        //新增字段
        private Client client;



//    private String product_name;
//    private String product_price;
//    private Date order_creation;
//    private Date order_updatetime;
//    private String valueName;


    @Override
    public String toString() {
        return "Admin{" +
                "admin_id=" + admin_id +
                ", admin_name='" + admin_name + '\'' +
                ", admin_userid=" + admin_userid +
                ", admin_userpassword='" + admin_userpassword + '\'' +
                ", client=" + client +
                '}';
    }

    public Admin() {
    }

    public Admin(String admin_name, String admin_userpassword) {
        this.admin_name = admin_name;
        this.admin_userpassword = admin_userpassword;
    }

    public Admin(String admin_name, int admin_userid, String admin_userpassword) {
        this.admin_name = admin_name;
        this.admin_userid = admin_userid;
        this.admin_userpassword = admin_userpassword;
    }





    public Admin(int admin_id, String admin_name, int admin_userid, String admin_userpassword) {
        this.admin_id = admin_id;
        this.admin_name = admin_name;
        this.admin_userid = admin_userid;
        this.admin_userpassword = admin_userpassword;
    }

    public Admin(int admin_id, String admin_name, int admin_userid, String admin_userpassword, Client client) {
        this.admin_id = admin_id;
        this.admin_name = admin_name;
        this.admin_userid = admin_userid;
        this.admin_userpassword = admin_userpassword;
        this.client = client;
    }

    public Client getClient() {
        return client;
    }

    public void setClient(Client client) {
        this.client = client;
    }

    public int getAdmin_id() {
        return admin_id;
    }

    public void setAdmin_id(int admin_id) {
        this.admin_id = admin_id;
    }

    public String getAdmin_name() {
        return admin_name;
    }

    public void setAdmin_name(String admin_name) {
        this.admin_name = admin_name;
    }

    public int getAdmin_userid() {
        return admin_userid;
    }

    public void setAdmin_userid(int admin_userid) {
        this.admin_userid = admin_userid;
    }

    public String getAdmin_userpassword() {
        return admin_userpassword;
    }

    public void setAdmin_userpassword(String admin_userpassword) {
        this.admin_userpassword = admin_userpassword;
    }




}
